import router from '@ohos.router';

export default {
    data: {
        title: ""
    },
    onInit() {
        this.title = "Hello World";
    },
    toHealth() {
        router.push({
            url: 'pages/health/health'
        })
    },
    toHelp() {
        router.push({
            url: 'pages/help/help'
        })
    },
    toAbout() {
        router.push({
            url: 'pages/about/about'
        })
    },
    toFeedback() {
        router.push({
            url: 'pages/feedback/feedback'
        })
    }
}
